Recognizing hard disk movement

ABSTRACT

A system and method of recognizing a hard disk movement, the system and method including recognizing hard disk information recorded in a hard disk in response to the hard disk being moved to a slot in a hard disk array, determining the movement type of the hard disk based on the recognized hard disk information, judging validity of the hard disk movement based on the movement type, and updating the hard disk information of the hard disk in response to the hard disk movement being judged as valid, wherein the hard disk information comprises position information of the hard disk in the hard disk array.

RELATED APPLICATIONS

This application claims priority from Chinese Patent Application NumberCN201510004540.1 filed on Jan. 4, 2015 entitled “METHOD AND SYSTEM FORHARD DISK MOVEMENT RECOGNITION” the content and teachings of which isherein incorporated by reference in its entirety.

FIELD OF THE INVENTION

Embodiments of the present invention generally relate to a method andsystem for hard disk movement, and more specifically to a method andsystem for recognizing a hard disk movement in a hard disk array orbetween different hard disk arrays.

BACKGROUND OF THE INVENTION

A conventional block storage device can be installed with a plurality ofhard disks, and performs initialization of each disk drive installed inthe hard disk array. The initialization enables the block storage deviceto use the hard disk to perform an operation such as read, write ordeletion. However, in the conventional block storage device, movement ofthe hard disk is not permitted, meaning that once the hard disk isinstalled in the block storage device, the hard disk forms cooperationwith a certain slot in the hard disk array of the block storage device.Only when the hard disk fails or needs to be replaced can a user use anew hard disk for replacement.

Therefore, it is necessary to introduce a new method and system allowingthe hard disk to move in the same hard disk array or between differenthard disk arrays to implement flexible use and allocation of the storagespace.

SUMMARY OF THE INVENTION

Generally, embodiments of the present invention propose a technicalsolution to recognition of hard disk movement.

In one aspect, embodiments of the present invention provide a method ofrecognizing a hard disk movement, including: recognizing hard diskinformation recorded in a hard disk in response to the hard disk beingmoved to a slot in a hard disk array; determining a movement type of thehard disk based on the recognized hard disk information; judging avalidity of the hard disk movement based on the movement type; andupdating the hard disk information of the hard disk in response to thehard disk movement being judged as valid, wherein the hard diskinformation includes position information of the hard disk in the harddisk array.

In another aspect, embodiments of the present invention provide a systemfor recognizing a hard disk movement, including: a hard disk informationrecognizing unit configured to recognize the hard disk informationrecorded in the hard disk in response to the hard disk being moved tothe slot in the hard disk array; a movement type determining unitconfigured to determine a movement type of the hard disk based on therecognized hard disk information; a movement validity judging unitconfigured to judge validity of the hard disk movement based on themovement type; and a hard disk information updating unit configured toupdate the hard disk information of the hard disk in response to thehard disk movement being judged as valid, wherein the hard diskinformation includes the position information of the hard disk in thehard disk array.

It will be appreciated through the following description that movementof the hard disk in the block storage device may be implemented based onthe determination of the hard disk movement type, according toembodiments of the present invention. Embodiments of the presentdisclosure enable the hard disk, after being installed into a certainslot of a certain hard disk array and being initialized, still to bemoved to a slot of other hard disk arrays or another slot of the samehard disk array, and to be used as a hard disk at another position (ifsuch a movement is valid). Other features and advantages of the presentinvention will be made easy to understand through the followingdescription.

BRIEF DESCRIPTION OF DRAWINGS

The above and other objects, features and advantages of the presentdisclosure will be made more apparent by describing exemplaryembodiments of the present disclosure in more detail with reference tofigures, wherein identical numeral references represent identical partsin the exemplary embodiments of the present disclosure.

FIG. 1 illustrates a schematic view of a hard disk array architectureaccording to an embodiment of the present disclosure;

FIG. 2 illustrates a schematic flowchart of a method of recognizing ahard disk movement for implementing an embodiment of the presentdisclosure;

FIG. 3 illustrates a schematic block diagram of a system of recognizinga hard disk movement for implementing an embodiment of the presentdisclosure; and

FIG. 4 illustrates a schematic block diagram of a computer systemadapted to practice an embodiment of the present disclosure.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

Preferred embodiments of the present disclosure will be described inmore detail with reference to figures. Although the figures showpreferred embodiments of the present disclosure, it should beappreciated that the present disclosure may be implemented in variousforms and should not be limited by embodiments described herein. On thecontrary, these embodiments are provided to make the present disclosuremore transparent and complete, and to convey the scope of the presentdisclosure completely to those skilled in the art.

FIG. 1 illustrates a schematic view of a hard disk array 100architecture according to an embodiment of the present disclosure. Thehard disk array 100 shown in FIG. 1 is only an example and should notlimit the scopes of functionalities and usages of embodiments of thepresent disclosure.

As shown in FIG. 1, the hard disk array according to an embodiment ofthe present disclosure includes a plurality of slots, each slot beingable to receive a hard disk. It should be noted that “a hard disk”stated in the embodiment of the present disclosure is not intended tolimit the number of physical hard disks to one, but to describe a harddisk unit that can form electrical connection with one slot for datatransmission and power transmission. Hence, “a hard disk” in the contextmay have one physical hard disk or a plurality of physical hard disks.Besides, the “hard disk” in embodiments of the present disclosure is notintended to limit the type of the storage unit to a certain type of harddisk drive, and any device such as a hard disk drive, a solid statedrive and the like that can store data should be considered as the “harddisk” of the present disclosure.

The hard disk array may have a plurality of buses. For example, theexemplary hard disk array 100 shown in FIG. 1 has two buses: bus 0 andbus 1. Each bus may have a plurality of enclosures, for example, bus 0of the exemplary hard disk array 100 shown in FIG. 1 has two enclosures:enclosure 0 and enclosure 1. Finally, each enclosure may have aplurality of slots, for example, the enclosure 0 of the bus 0 of theexemplary hard disk array 100 shown in FIG. 1 has a total of n slotsfrom slot 1 to slot n. Hence, the maximum number of hard disks that canbe received in the hard disk array 100 is n×2×2.

In addition, each enclosure has a fixed number of system slots toreceive hard disks as system disks, for example, as far as theembodiment shown in FIG. 1 is concerned, each enclosure has four systemslots and n−4 user slots. The system disks usually have a plurality ofhard disks and occupy a plurality of system slots according to needs,which usually does not allow the user to perform operation such as read,write or deletion, and the data therein may be concealed for the user.On the other hand, the user disks usually may be operated by the user(who has the permission), and the data in the user disks is allowed tobe moved by the user. At least two hard disks of the user disks may bebound therebetween to form a Redundant Array of Independent Disks(RAID), to improve data transmission efficiency and to be able toprovide a fault tolerating function through data verification.

Embodiments of the present invention will be described in detail asfollows. FIG. 2 illustrates a schematic flowchart of a method 200 ofrecognizing a hard disk movement that can implement an embodiment of thepresent disclosure.

First, in step S201, whether there is a hard disk being moved to a slotof the hard disk array is judged. If a hard disk is detected as havingbeen moved to the slot of the hard disk array, hard disk information inthe hard disk is identified in step S202. The hard disk information maybe recorded in a segment of information in the hard disk in the form ofa data head, or stored in a segment of information in the hard disk in aform of a readable file. The embodiment of the present disclosure is notintended to limit the form of the hard disk information. No matter ifthe hard disk is initialized by a certain hard disk array, theembodiment of the present disclosure is intended to describe that thehard disks (even if not subjected to initialization) may all have thehard disk information. However, as far as an un-initialized hard disk isconcerned, it may have a predetermined specific value indicating thatthe hard disk is not subjected to initialization as the hard diskinformation, or may have empty hard disk information.

The hard disk information according to the embodiment of the presentdisclosure may have position information. The position information maybe a specific position of the hard disk in a certain hard disk arrayshown in FIG. 1. By way of example only, the position information in thehard disk information may define which slot of which enclosure in whichbus. For example, <0, 1, 2> is the third slot in enclosure 1 of bus 0(in the embodiment of FIG. 1, the first four slots of each enclosure aresystem slots, so the position information <0, 1, 2> indicates that thehard disk is a system disk). If the hard disk is not subjected to anyhard disk array initialization, the position information may be empty,or may be a predetermined value that is pre-defined and indicates thatthe hard disk is a newly-added hard disk, for example, <−1, −1, −1>.However, it should be noted that the present disclosure is not intendedto limit the format or form of the position information, and any formator form of position information that can reflect the position of thehard disk falls within the protection scope of the present disclosure.

According to an embodiment of the present disclosure, if a hard disk isremoved from a certain slot in the hard disk array, the positioninformation in the hard disk information indicates the position wherethe hard disk lies last time in the array. If the hard disk is connectedwith a certain slot in the hard disk array and the hard disk is judgedas valid (which will be described below in detail), the positioninformation in the hard disk information will be updated, indicating aposition where it lies now in the array. On the contrary, if the harddisk is connected with a certain slot in the hard disk array, but thehard disk is judged as invalid, the position information in the harddisk information will not be updated, indicating the position where itlies last time.

According to the embodiment of the present disclosure, the hard diskinformation may further include initialization information whichindicates whether the hard disk is a newly-added hard disk or previouslyhas already been used in a certain hard disk array. As stated above, thenewly-added hard disk may have hard disk information which may be presetby a supplier in all the supplied hard disks. By way of example only,the initialization information in the hard disk information may berepresented by 0 and 1, with “0” representing that the hard disk is notinitialized (namely, may represent the newly-added hard disk) while “1”representing that the hard disk has already been initialized. On theother hand, the newly-added hard disk may also have empty hard diskinformation. It should be appreciated that embodiments of the presentdisclosure are not intended to limit the form of representing theinitialization information, and any representation form that can be readshould be included in the scope of the present disclosure.

Hence, in the embodiment of the present disclosure, if a certain harddisk is inserted in a certain slot in a certain hard disk array, thehard disk information recorded in the hard disk cannot be recognizedimmediately. For example, if the initialization information in the harddisk information shows that it is not initialized, the hard disk may bejudged as the newly-added hard disk.

According to an embodiment of the present disclosure, the hard diskinformation may further include array serial number information. FIG. 1only shows an exemplary hard disk array 100. However, the block storagedevice according to the embodiment of the present disclosure may have aplurality of hard disk arrays, so the hard disk movement between thesearrays should be detected. By way of example only, the array serialnumber information in the hard disk information may be a non-negativeinteger. For example, 3 may indicate the fourth hard disk array.Alternatively, the array serial number information may be a characterstring of any length and indicate a serial number of an array which isspecific and cannot be repeated. If the hard disk is not subjected toany hard disk array initialization, the array serial number informationmay be empty, or may be a predetermined value that is pre-defined, forexample −1, indicating the hard disk is a newly-added hard disk.However, it should be noted that the present disclosure is not intendedto limit the format or form of the array serial number information, andany format or form of array serial number information that can reflectthe serial number of the array where the hard disk lies falls within theprotection scope of the present disclosure.

According to an embodiment of the present disclosure, the hard diskinformation may further include hard disk type information, for example,a shown in FIG. 1, the hard disk type information may include whetherthe hard disk belongs to a system disk or a user disk. Although whetherthe hard disk belongs to the system disk or user disk can already beinferred from the position information in the hard disk information(namely, whether it is used as a system disk or a user disk last time),according to the embodiment of the present disclosure, it is alsopossible that the hard disk information directly contains the hard disktype information. By way of example only, the hard disk type informationin the hard disk information may be represented by 0 and 1, in which “0”represents that the hard disk is a system disk, while “1” representsthat the hard disk is a user disk. Alternatively, the hard disk typeinformation may also be a character string of any length. For example,the system disk may be represented as “SYST” while the user disk may berepresented as “USER.” If the hard disk is not subjected to any harddisk array initialization, the array serial number information may beempty, or may be a predetermined value that is pre-defined, for example−1, indicating the hard disk is a newly-added hard disk, or anypre-defined character string. However, it should be noted that thepresent disclosure is not intended to limit the format or form of thehard disk type information, and any format or form of hard disk typeinformation that can reflect the hard disk type falls within theprotection scope of the present disclosure.

According to an embodiment of the present disclosure, if the hard disktype information is identified as a user disk, whether the hard diskbelongs to RAID may also be judged. For example, as an exemplaryembodiment, a memory configuration in the hard disk array can be used tojudge whether a certain hard disk belongs to RAID. In the embodiment ofthe present disclosure, the system disk in the hard disk array belongsto RAID, but the user disk in the hard disk array might or might notbelong to RAID. Whether it belongs to the RAID is configured by the useraccording to needs, and therefore will not be detailed herein.

In step S203, a movement type of the hard disk is determined. Thedetermining step may be obtained by comparing a current position of themobile hard disk in the hard disk array and the hard disk informationrecorded in the hard disk (namely, the position of the hard disk lasttime).

According to an embodiment of the present disclosure, when the hard diskis inserted into a certain slot, it is desirable to obtain someinformation about the inserted hard disk, for example, whether the harddisk is a newly-added hard disk, a user disk in other arrays, a systemdisk in other arrays, an unbound user disk in the same array, a bounduser disk in the same array and a system disk in the same array (thesystem disk may be defaulted as being bound). Hence, according to theinsertion position of the hard disk, movement types of the hard disk maybe classified into 15 types as respectively listed in the followingTable 1.

TABLE 1 No. Movement types of a drive 1 New drive inserted to a userslot 2 New drive inserted to a system slot 3 User drive from other arrayinserted to a user slot 4 User drive from other array inserted to asystem slot 5 Unbound user drive from the current array inserted to itsoriginal user slot 6 Unbound user drive from the current array insertedto a different user slot 7 Unbound user drive from the current arrayinserted to a system slot 8 Bound user drive from the current arrayinserted to its original user slot 9 Bound user drive from the currentarray inserted to a different user slot 10 Bound user drive from thecurrent array inserted to a system slot 11 System drive from other arrayinserted to a user slot 12 System drive from other array inserted to asystem slot 13 System drive from the current array inserted to itsoriginal system slot 14 System drive from the current array inserted toa different system slot 15 System drive from the current array insertedto a user slot

According to an embodiment of the present disclosure, each of themovement type of the hard disk may be determined by specific hard diskinformation and an insertion position of the hard disk in the blockstorage device, which may be obtained from Table 2.

TABLE 2 Serial Whether the Which numbers array serial slot the Whetherthe of hard number Whether the position position disk information Harddisk hard disk of the information movement Initialization accords withtype belongs to hard disk accords with types information the arrayinformation RAID lies in the position 1 0 Not Not No User Not applicableapplicable sot applicable 2 0 Not Not No System Not applicableapplicable slot applicable 3 1 No User disk Not User Not applicable sotapplicable 4 1 No User disk Not System Not applicable slot applicable 51 Yes User disk No User Yes sot 6 1 Yes User disk No User No sot 7 1 YesUser disk No System No slot 8 1 Yes User disk Yes User Yes sot 9 1 YesUser disk Yes User No sot 10 1 Yes User disk Yes System No slot 11 1 NoSystem Not User Not disk applicable sot applicable 12 1 No System NotSystem Not disk applicable slot applicable 13 1 Yes System Yes SystemYes disk slot 14 1 Yes System Yes System No disk slot 15 1 Yes SystemYes User No disk sot

As shown in Table 2, 0 as the initialization information represents thatthe hard disk is not initialized, and 1 represents that the hard diskhas already been initialized. If the hard disk is not initialized,comparison of the array serial number, the hard disk type information,and comparison of the position information all do not apply. Besides, ifthe array serial number information indicates difference from the arrayof the slot in which the hard disk is inserted, this indicates that thehard disk comes from another hard disk array, and whether the hard diskbelongs to the RAID and comparison of the position information do notapply.

In step S204, validity of movement of the hard disk is judged based onthe determined hard disk movement type. This may be preset by the useror system, namely, any type of movement is not allowed. For example, themovement type 10, namely, “bound user drive from the current arrayinserted to a system slot” is not to be allowed, and meanwhile movementtype 15, namely, “system drive from the current array inserted to a userslot” is allowed.

In step S205, if the movement type of the hard disk is judged as valid,for example, the movement type is determined as the above exemplifiedmovement type 15, the hard disk information of the hard disk may beupdated in step S206 so that its hard disk information accords with theinformation of the slot of the currently inserted hard disk array. Onthe contrary, if the movement type of the hard disk is judged asinvalid, the hard disk information of the hard disk will not be updated.

FIG. 3 illustrates a block diagram of a system 300 for recognizing thehard disk movement according to an exemplary embodiment of the presentdisclosure. As shown in FIG. 3, the system 300 includes a hard diskinformation recognizing unit 301 configured to recognize the hard diskinformation recorded in the hard disk in response to the hard disk beingmoved to the slot in the hard disk array; a movement type determiningunit 302 configured to determine the movement type of the hard diskbased on the recognized hard disk information; a movement validityjudging unit 303 configured to judge validity of the hard disk movementbased on the movement type; and a hard disk information updating unit304 configured to update the hard disk information of the hard disk inresponse to the hard disk movement being judged as valid, wherein thehard disk information includes the position information of the hard diskin the hard disk array.

In some embodiments, the movement type determining unit 302 may includea position information comparing unit configured to compare the positionof the hard disk in the hard disk array and the position information inthe hard disk.

In some embodiments, the hard disk information may include at least oneof the following items: hard disk type information, initializationinformation, and array serial number information.

In some embodiments, the movement type determining unit 302 may includean array serial number comparing unit configured to compare an arrayserial number of the hard disk in the hard disk array and the arrayserial number information in the hard disk.

In some embodiments, the hard disk type information may include systemdisk and user disk.

In some embodiments, the system may include a redundant array ofindependent hard disk judging unit configured to judge whether the harddisk belongs to a redundant array of independent hard disk in responseto the hard disk type information being recognized as the user disk.

The above embodiments of the present disclosure may make the hard diskmovement in the block storage device possible because the movement typesof the hard disk can be determined and whether the judgment is valid isjudged based on the determined movement type. The user may pre-determinewhether the hard disk belongs to the valid movement type or the invalidmovement type, and achieves the hard disk movement based on thedetermined valid movement type of the hard disk.

FIG. 4 illustrates a schematic block diagram of a computer systemadapted to practice an embodiment of the present disclosure. As shown inFIG. 4, the computer system as shown in the figure includes a CPU(Central Processing Unit) 401, a RAM (Random Access Memory) 402, a ROM(Read Only Memory) 403, a system bus 404, a hard disk controller 405, akeyboard controller 406, a serial interface controller 407, a parallelinterface controller 408, a display controller 409, a hard disk 410, akeyboard 411, a serial peripheral device 412, a parallel peripheraldevice 413 and a display 414. Among these components, connected to thesystem bus 404 are the CPU 401, the RAM 402, the ROM 403, the hard diskcontroller 405, the keyboard controller 406, the serial interfacecontroller 407, the parallel interface controller 408 and the displaycontroller 409. The hard disk 410 is coupled to the hard disk controller405; the keyboard 411 is coupled to the keyboard controller 406; theserial peripheral device 412 is coupled to the serial interfacecontroller 407; the parallel peripheral device 413 is coupled to theparallel interface controller 408; and the display 414 is coupled to thedisplay controller 409.

It should be understood that the structural block diagram in FIG. 4 isshown only for illustration purpose, and is not intended to limit thescope of the present invention. In some cases, some devices may be addedor reduced according to specific situations.

Particularly, besides the hardware embodiments, embodiments of thepresent invention may be implemented in the manner of a computer programproduct. For example, the method 200 as described with reference to FIG.2 may be implemented via a computer program product. This computerprogram product may be stored in RAM 402, ROM 403, flash disk 410 and/orany suitable storage medium as illustrated in FIG. 4, or downloaded tothe computer system 400 from a suitable location in the network. Thecomputer program product may include a computer code portion including aprogram instruction that may be executed through a suitable processingdevice (for example, CPU 401 in FIG. 4). The program instruction may atleast include: an instruction for enabling one or more entities toexecute a task set including a plurality of tasks, each task in theplurality of tasks being used to access the storage system; aninstruction for obtaining an index set of the storage system based onthe execution result, the index set including one or more indices forindicating the performance of the storage system; and an instruction foradjusting the task set based on the index set for subsequent executionof the one or more entities.

It should be noted that, the embodiments of the present invention can beimplemented in software, hardware or the combination thereof. Thehardware part can be implemented by a special logic; the software partcan be stored in a memory and executed by a proper instruction executionsystem such as a microprocessor or a design-specific hardware. Thenormally skilled in the art may understand that the above method andsystem may be implemented with a computer-executable instruction and/orin a processor controlled code, for example, such code is provided on abearer medium such as a magnetic disk, CD, or DVD-ROM, or a programmablememory such as a read-only memory (firmware) or a data bearer such as anoptical or electronic signal bearer. The apparatuses and their modulesin the present invention may be implemented by hardware circuitry of aprogrammable hardware device such as a very large scale integratedcircuit or gate array, a semiconductor such as logical chip ortransistor, or a field-programmable gate array, or a programmablelogical device, or implemented by software executed by various kinds ofprocessors, or implemented by combination of the above hardwarecircuitry and software.

It should be noted that although a plurality of means or sub-means ofthe device have been mentioned in the above detailed depiction, suchpartitioning is merely non-compulsory. In actuality, according to theembodiments of the present invention, the features and functions of theabove described two or more means may be embodied in one means. In turn,the features and functions of the above described one means may befurther embodied in more modules.

Besides, although operations of the present methods are described in aparticular order in the drawings, it does not require or imply thatthese operations must be performed according to this particularsequence, or a desired outcome can only be achieved by performing allshown operations. On the contrary, the execution order for the steps asdepicted in the flowcharts may be varied. Additionally or alternatively,some steps may be omitted, a plurality of steps may be merged into onestep, and/or a step may be divided into a plurality of steps forexecution.

Although the present invention has been depicted with reference to aplurality of embodiments, it should be understood that the presentinvention is not limited to the disclosed embodiments. The presentinvention intends to cover various modifications and equivalentarrangements included in the spirit and scope of the appended claims.The scope of the appended claims meets the broadest explanations andcovers all such modifications and equivalent structures and functions.

What is claimed is:
 1. A method of recognizing a hard disk movement in adata storage system, comprising: setting which types of movement arevalid in the data storage system; recognizing hard disk informationrecorded in a hard disk in response to the hard disk being moved to aslot in a hard disk array, wherein the hard disk information includesthe hard disk location and a type of the hard disk; determining amovement type of the hard disk based on the recognized hard diskinformation, wherein the recognized hard disk information includeswhether the hard disk is one of a system disk and a user disk, used todetermine the movement type of the hard disk; judging validity of thehard disk movement based on the movement type; and updating the harddisk information of the hard disk in response to the hard disk movementbeing judged as valid; wherein the hard disk information comprisesposition information of the hard disk in the hard disk array.
 2. Themethod of recognizing the hard disk movement according to claim 1,wherein determining the movement type of the hard disk comprises:comparing a position of the hard disk in the hard disk array and theposition information in the hard disk.
 3. The method of recognizing thehard disk movement according to claim 1, wherein the hard diskinformation further comprises at least one of the following items: harddisk type information; initialization information; and array serialnumber information.
 4. The method of recognizing the hard disk movementaccording to claim 3, wherein determining the movement type of the harddisk comprises: comparing an array serial number of the hard disk in thehard disk array and the array serial number information in the harddisk.
 5. The method of recognizing the hard disk movement according toclaim 3, wherein the hard disk type information comprise whether thehard disk is one of the system disk and the user disk.
 6. The method ofrecognizing the hard disk movement according to claim 5, comprising:judging whether the hard disk belongs to a redundant array ofindependent hard disk in response to the hard disk type informationbeing recognized as the user disk.
 7. A system, comprising: a datastorage system including two or more hard disks; and computer-executableprogram logic encoded in memory of one or more computers enabled torecognize movement of a hard disk, of the two or more hard disks, in thedata storage system, wherein the computer-executable program logic isconfigured for the execution of: defining which types of movement arevalid in the data storage system; recognizing hard disk informationrecorded in the hard disk in response to the hard disk being moved to aslot in a hard disk array, wherein the hard disk information includesthe hard disk location and a type of the hard disk; determining amovement type of the hard disk based on the recognized hard diskinformation, wherein the recognized hard disk information includeswhether the hard disk is one of a system disk and a user disk, used todetermine the movement type of the hard disk; judging validity of thehard disk movement based on the movement type; and updating the harddisk information of the hard disk in response to the hard disk movementbeing judged as valid; wherein the hard disk information comprisesposition information of the hard disk in the hard disk array.
 8. Thesystem of claim 7, wherein determining the movement type of the harddisk comprises: comparing a position of the hard disk in the hard diskarray and the position information in the hard disk.
 9. The system ofclaim 7, wherein the hard disk information further comprises at leastone of the following items: hard disk type information; initializationinformation; and array serial number information.
 10. The system ofclaim 9, wherein determining the movement type of the hard diskcomprises: comparing an array serial number of the hard disk in the harddisk array and the array serial number information in the hard disk. 11.The system of claim 9, wherein the hard disk type information comprisewhether the hard disk is one of the system disk and the user disk. 12.The system of claim 11, wherein the computer-executable program logic isfurther configured for the execution of: judging whether the hard diskbelongs to a redundant array of independent hard disk in response to thehard disk type information being recognized as the user disk.